import { IStore } from "@/api/service/store/types";

export const showForm = ref(false);
const formObj: IStore = {
  id: "",
  parentId: "",
  storeName: "",
  storeManager: "",
  telephone: "",
  equipmentCount: null,
  createTime: "",
  username: "",
  password: "",
  userId: "",
  storeNo: ""
};
export const form = ref<IStore>({
  ...formObj
});

export const resetForm = () => {
  form.value = {
    ...formObj
  };
};
